import request from "@/utils/request";

export function listIceResult(query){

  return request({
    url:'/contract/ice-result/list',
    params:query,
  })

}

export function getOneResult(query){
  return request({
    url:'/contract/ice-result/getOne/'+query,
  })
}

export function labelResult(){
  return request({
    url:'/contract/ice-result/label',
  })
}

export function saveResult(data){
  return request({
    url:'/contract/ice-result/save',
    method:'post',
    data:data
  })
}

export function updateResult(data){
  return request({
    url:'/contract/ice-result/update',
    method:'put',
    data:data
  })
}

export function delResult(query){
  return request({
    url:'/contract/ice-result/delete/'+query,
    method:'delete'
  })
}
